package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * messages对象 chat_messages
 * 
 * @author ruoyi
 * @date 2025-04-17
 */
public class ChatMessagesDTO
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String chatId;

    private String role;

    private String messageContent;



    private Date timestamp;

    public String getChatId() {
        return chatId;
    }

    public void setChatId(String chatId) {
        this.chatId = chatId;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getMessageContent() {
        return messageContent;
    }

    public void setMessageContent(String messageContent) {
        this.messageContent = messageContent;
    }

    public Date getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Date timestamp) {
        this.timestamp = timestamp;
    }


    @Override
    public String toString() {
        return "ChatMessagesDTO{" +
                "chatId='" + chatId + '\'' +
                ", role='" + role + '\'' +
                ", messageContent='" + messageContent + '\'' +
                ", timestamp='" + timestamp + '\'' +
                '}';
    }

}
